package com.shopping.service;

import com.shopping.pojo.OrderItem;
import com.shopping.pojo.vo.OrdersInfo;

import java.util.List;

public interface OrderItemService {
    public List<OrderItem> selectOrderItemByOrderId(Integer id);
    public int getOrderItemNum(Integer id);
    public boolean checkOrdersStatusByBusinessId(String businessId);
    public boolean checkOrdersStatusByProductId(Integer productId);
    public int getUndeliveredNum(String businessId);
    public int getShippedNum(String businessId);
    public int getReceivedNum(String businessId);
    public boolean updateOrderItemReceipt(Integer id);
    public boolean insertOrderItem(OrderItem orderItem);
    public boolean updateOrderStatus(String orderId);

}
